package cn.dancepeak.user.service;

import cn.dancepeak.user.domain.User;
import cn.dancepeak.user.query.UserQuery;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface IUserServiceImpl {

    void add(User user);

    void update(User user);

    void delete(Long id);

    void deleteByList(List<Long> ids);

    User getById(Long id);

    PageInfo<User> page(UserQuery userQuery);
}
